var Player = function()
{
    this.type = null;
    this.name = null;
}

Player.prototype.setType = function(_playerType)
{
    this.type = _playerType;
    return this;
}

Player.prototype.getType = function()
{
    return this.type;
}

Player.prototype.setName = function(_name)
{
    this.name = _name;
    return this;
}

Player.prototype.getName = function()
{
    return this.name;
}		
